package org.linlinjava.litemall.admin.vo.shop;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/20 17:51
 */
public class CloudSpecifications {

    private Integer id;

    @NotNull(message = "库存不能为空")
    @Max(value = 100000,message = "数量不能超过100000")
    private Integer warehouseCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWarehouseCount() {
        return warehouseCount;
    }

    public void setWarehouseCount(Integer warehouseCount) {
        this.warehouseCount = warehouseCount;
    }
}
